package com.atguigu.gulimall.product.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.vo.SpuInfoVo;
import com.atguigu.gulimall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author zhangjianyou
 * @email 1844897920@qq.com
 * @date 2022-06-01 12:37:09
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void savePublishProduct(SpuSaveVo spuSaveVo);

    PageUtils queryByCondition(Map<String, Object> params);

    void productUp(Long spuId);

    SpuInfoVo getSpuEntityWithSkuId(Long skuId);
}

